package test;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;

public class redisTet {

    @Autowired
    private RedisTemplate redisTemplate;
    @Test
    public void redisTes(){
        redisTemplate.opsForValue().set("key1","value1");
    }
}
